import path from 'node:path'
import { Mode, defineConfig } from '@abmao/pkgs'

// import createPackagesPlugin from './scripts/packages'

export default defineConfig({
  mode: Mode.DIFF,
  run: {
    // 只对工作区影响
    type: 'work',
  },
  // 加载插件
  plugins: [
    path.resolve(__dirname, './scripts/packages.ts'),
    // createPackagesPlugin(),
    // createPackagesPlugin,
  ],
})
